import axios from "@/utils/axios";
export default{
    addPerson:data=>axios.post('/orgnizations',data),
    updatePerson:data=>axios.put('/orgnizations/update',data),
    searchId:(id)=>axios.get(`/orgnizations/${id}`),
    deletePerson:(id)=>axios.delete(`/orgnizations/${id}`),
    allPerson:(data)=>axios.post('/orgnizations/queryAllUser',data),
    uploadimg:()=>axios.post('/uploadoss'),
    updateperson:(data)=>axios.put("/users/update",data)
}